package com.ruoyi.user.domain;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 用户浏览记录对象 t_user_view_record
 * 
 * @author DEREK
 * @date 2023-05-12
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_user_view_record")
public class UserViewRecord
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户Id */
    @Excel(name = "用户Id")
    private Long userId;

    /** 被查看用户ID */
    @Excel(name = "被查看用户ID")
    private Long viewedUserId;

    /** 0=有访问记录 1=无访问记录 */
    @Excel(name = "0=有访问记录 1=无访问记录")
    private Integer status;

    /** 访问时的距离 */
    @Excel(name = "访问时的距离")
    private String distance;

    /** 查看人的经纬度 */
    @Excel(name = "查看人的经纬度")
    private String userDistance;

    /** 被查看人的经纬度 */
    @Excel(name = "被查看人的经纬度")
    private String viewedUserDistance;

    /** 1=正常 0=已删除 */
    @Excel(name = "1=正常 0=已删除")
    private Integer enabled;

    private Date createTime;
    private Date updateTime;
    
}
